from django.db import models

# Create your models here.


from abview.models import Service
from abview.models import ServiceGroup
# from abview.models import Env

class RedisHost(models.Model):
    id = models.AutoField(primary_key=True)
    env = models.CharField(max_length=10 , unique=True)
    host = models.CharField(max_length=50)
    desc = models.CharField(max_length=50,blank=True,null=True)
    class Meta:
        permissions = (
            ("cutover_admin", "cutover Admin 权限"),
        )